package com.newgrand.domain.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @创建人：ZhaoFengjie
 * @修改人：ZhaoFengjie
 * @创建时间：1:33 2022/10/18
 * @修改时间:：1:33 2022/10/18
 */
@Data
@ApiModel(value = "StatAmount", description = "年、月的完成产值数据模型")
public class StatAmount {

    @ApiModelProperty(value = "年度产值")
    private Year year;

    @ApiModelProperty(value = "月度产值")
    private Month month;

    @Data
    @ApiModel(value = "Year", description = "年度完成产值数据模型")
    public class Year {
        @ApiModelProperty(value = "年完成量")
        private Integer completeAmount;
        @ApiModelProperty(value = "年计划产值合计")
        private Long planAmount;
        @ApiModelProperty(value = "年形象产值合计")
        private Integer progressPlanAmount;
    }

    @Data
    @ApiModel(value = "Month", description = "月度完成产值数据模型")
    public class Month {
        @ApiModelProperty(value = "月完成量")
        private Integer completeAmount;
        @ApiModelProperty(value = "月计划产值合计")
        private Long planAmount;
        @ApiModelProperty(value = "月形象产值合计")
        private Integer progressPlanAmount;
    }
}
